import { css } from "@emotion/core";
import React from "react";
const style=css`
    width:200px;
    height:50px;
    background:red
`
const style2=css({
    width:200,
	height:50,
	background:'red'
})
export default function CssFunc(){
    return (
        <>
            <div css={style}>css方法调用-模板字符串</div>
            <div css={style2}>css方法调用-对象</div>
        </>
    )
}